<div class="modal fade" id="pophistory" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">命令历史</h4>
            </div>
            <div class="modal-body">
                <table id="historyommandWrap" class="table table-bordered">
                </table>
                <nav>
                </nav>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="poplogin" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">Login</h4>
            </div>
            <div class="modal-body">
                <div class="container-fluid">
                    <div class="row">
                        <div class="col-md-12">
                            <div class="panel panel-default">
                                <div class="panel-body">
                                    <form class="form-horizontal" id="loginForm">
                                        <div class="form-group">
                                            <label for="username" class="col-sm-2 control-label">Username</label>
                                            <div class="col-sm-10">
                                                <input type="text" class="form-control" name="username" id="username" placeholder="Username">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label for="password" class="col-sm-2 control-label">Password</label>
                                            <div class="col-sm-10">
                                                <input type="password" class="form-control" name="password" id="password" placeholder="Password">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="col-sm-offset-2 col-sm-10">
                                                <button type="button" class="btn btn-default" id="submit">Submit</button>
                                            </div>
                                        </div>
                                    </form>
                                </div>
                            </div>
                        </div>
                    </div>
                </div><!-- /.container -->
            </div>
        </div>
    </div>
</div>



<div class="modal fade" id="popselectdc" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel">选择数据中心</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="">
                    <div class="form-group">
                        <label for="username" class="col-sm-2 control-label">数据中心</label>
                        <div class="col-sm-10">
                            <select class="form-control" id="dcList2">

                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="button" class="btn btn-default" id="submitDcList">Submit</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="error" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="">Error</h4>
            </div>
            <div class="modal-body">
                <div id="error_body">
                    
                </div>
            </div>
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn cancel" type="button">取消</button>
            </div>
        </div>
    </div>
</div>

<div class="loading">
    <img src="assets/images/loading.gif" alt="" />
</div>


<!-- //DC List tmpl for nav-->
<script type="text/x-jquery-tmpl" id="dcListTemplate">
    <li><a href="javascript:;" data-comment="${comment}">${name}</a></li>
</script>
<!-- //DC List tmpl for popup-->
<script type="text/x-jquery-tmpl" id="dcListTemplateForPopup">
    <option value="${name}" data-comment="${comment}">${name}</option>
</script>

<!-- // 命令历史 tmpl-->
<script type="text/x-jquery-tmpl" id="historyommandTemplate">
    <tr>
<td>${id}</td>
<td>${time}</td>
<td>${command}</td>
<td>${user}</td>
</tr>
</script>
